#!/usr/bin/env python3
#-*- coding: utf-8 -*-

from abc import ABC,abstractclassmethod
import threading
class request(threading.Thread):
    @abstractclassmethod
    def __init__(self,connection,address,handle):
        '''
        Feature
            初始化
        Description
            初始化
        Args
            connection
                type:socket
                description:连接socket
            address
                type:ip address ("127.0.0.1",3000)
                description:ip地址和端口
            handle
                type:server socket句柄
                description:server socket句柄
        '''
        threading.Thread.__init__(self)
        self._connect=connection
        self._address=address
        self._handle=handle

    @abstractclassmethod
    def run(self):pass